<?php

if (!defined('BASEPATH'))
    exit('No direct script access allowed');

class mmodules extends MY_Model {

    var $theme_data = array(
        'layout_main' => 'layout',
        'left' => 'include/leftcp',
    );
    public $mytable = "modules";
    public $primaryKey = "MOD_ID";
    public $resCode = "MODULES";

    function __construct() {
        parent::__construct();
    }

    function field() {
		$fieldData = array();
		$fieldData['MOD_NAME'] = '';
		$fieldData['MOD_TITLE'] = '';
		$fieldData['MOD_CONFIG'] = '';
		return $fieldData;
    }
	
}

?>